package com.ant.storage.service;

import com.ant.storage.dto.PersonnelDto;
import com.ant.storage.handler.AntException;
import com.ant.storage.pojo.Personnel;
import com.ant.storage.vo.PersonnelVo;
import com.ant.storage.vo.PurchaseVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.taobao.api.ApiException;

/**
 * <p>
 * 人事管理 服务类
 * </p>
 *
 * @author hzd
 * @since 2023-03-20
 */
public interface IPersonnelService extends IService<Personnel> {

    PageInfo<PersonnelVo> getPersonnelList(PersonnelDto dto);

    Long getPersonneDeplList(String userId, String accessToken) throws ApiException;

    String[] getAccessToken(PersonnelVo vo)  throws AntException, ApiException;

    PageInfo<PurchaseVo> findNailReview(PersonnelDto dto);

    Personnel findNailReviewById(String id);
}
